<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>消息通知-聊天列表</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">

<link href="//staticnew.mayi.com/resourcesWeb/css/global.css" rel="stylesheet" type="text/css" />
<link href="//staticnew.mayi.com/resourcesWeb/css/PCenter.css?V=201310081852" rel="stylesheet" type="text/css" />


</head>

<body>
	<!-- Content -->
	<div class="main">
		<ul class="breadcrumb clearfix">
			<li><a href="jsp/myOrders.jsp">我是房客</a> <span
				class="divider">》</span></li>
			<li>消息通知</li>
		</ul>

		<div class="personalCenter clearfix">
			<ul class="center-sidebar">
				<li><a href="jsp/myOrders.jsp">订单管理<span class="ddgl"></span></a></li>
				<li><a class="slideactive" href="jsp/myMassage.jsp">消息通知<span
						class="xxtz"></span></a></li>
				<li><a href="jsp/myInfo.jsp">账户管理<span class="zhgl_current"></span></a></li>
				<li><a href="jsp/myCollection.jsp">我的收藏<span
						class="save_Li"></span></a></li>
			</ul>
			
			<div id="chatCenterCon" class="centerCon">loading...</div>
			<!-- 此DIV动态刷新 -->
		</div>
	</div>
	<!-- Content END -->
	<!-- 删除弹窗 -->
	<div id="deleteConfirmDiv" class="alert-box" style="display: none;">
		<div class="alert-title">
			删除聊天记录 <a id="cancelDeleteConfirm" class="alert-close" href="#"
				rel="nofollow"></a>
		</div>
		<div class="alert-con">
			<div class="removetext">你确定要删除聊天记录吗？</div>
			<div class="btn-box">
				<input id="deleteConfirmOK" class="warn-btn mlcenter" type="button"
					name="" value="确定" /> <input id="closeDeleteConfirm"
					class="gray-btn" type="button" name="" value="取消" />
			</div>
		</div>
	</div>
	<div id="deleteSuccessDiv" class="alert-box" style="display: none;">
		<div class="alert-title">
			删除聊天记录 <a class="alert-close" href="#" rel="nofollow"></a>
		</div>
		<div class="alert-con">
			<div id="deleteAlertInfo" class="removetext">删除成功！</div>
			<div class="btn-box">
				<input id="closeDeleteSuccess" class="warn-btn center" type="button"
					name="" value="确定" />
			</div>
		</div>
	</div>
	<!-- 删除弹窗 END -->
	<!-- Footer -->
	<script type="text/javascript"
		src="//staticnew.mayi.com/resourcesWeb/js/layer/layer.min.js"></script>
	<script type="text/javascript"
		src="//staticnew.mayi.com/resourcesWeb/js/jQuery.md5.js"></script>
	<script type="text/javascript"
		src="//staticnew.mayi.com/resourcesWeb/js/login.js"></script>

	<script type="text/javascript">
		$(document).ready(function() {
			function getCookie(objName) {
				var arrStr = document.cookie.split("; ");
				for (var i = 0; i < arrStr.length; i++) {
					var temp = arrStr[i].split("=");
					if (temp[0] == objName) return unescape(temp[1]);
				}
			}
	
			function deleteCookie(name, path) {
				var name = escape(name);
				var expires = new Date(0);
				path = path == "" ? "" : ";path=" + path;
				document.cookie = name + "=" + ";expires=" + expires.toUTCString() + path;
			}
	
			//修正cookie中的MayiUserInfo
			var user = getCookie('MayiUserInfo');
			if (user != null) {
				var pattern = new RegExp(/^\".+\"$/);
				if (pattern.exec(user)) {
					user = user.substring(1, user.length - 1);
					deleteCookie('MayiUserInfo', '/');
					document.cookie = "MayiUserInfo=" + escape(user) + ";path=/;domain=.mayi.com";
				}
			}
		//未登录的登录后才能显示站内信
		});
	
		function sinaWeibo() {
			window.open("http://widget.weibo.com/dialog/follow.php?fuid=2357071361");
		}
	</script>

</body>
</html>
